home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / beos / PPBeDevKit.ZIP / PLAYERPR.TAR / PlayerPRO / Source / Import-Export / AMF.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-26  |  1.3 KB  |  57 lines

  1. /********************                        ***********************/
  2. //
  3. //    Player PRO 5.0 - DRIVER SOURCE CODE -
  4. //
  5. //    Library Version 5.0
  6. //
  7. //    To use with MAD Library for Mac: Symantec, CodeWarrior and MPW
  8. //
  9. //    Antoine ROSSET
  10. //    16 Tranchees
  11. //    1206 GENEVA
  12. //    SWITZERLAND
  13. //
  14. //    COPYRIGHT ANTOINE ROSSET 1996, 1997, 1998
  15. //
  16. //    Thank you for your interest in PlayerPRO !
  17. //
  18. //    FAX:                (+41 22) 346 11 97
  19. //    PHONE:             (+41 79) 203 74 62
  20. //    Internet:     RossetAntoine@bluewin.ch
  21. //
  22. /********************                        ***********************/
  23.  
  24. #ifndef __AMFH__
  25. #define __AMFH__
  26.  
  27. #if defined(powerc) || defined (__powerc)
  28. #pragma options align=mac68k
  29. #endif
  30.  
  31. #define uchar unsigned char
  32. #define ushort unsigned short
  33. #define ulong unsigned long
  34.  
  35. typedef struct {
  36.     uchar       type;
  37.     char        name[32],filename[13];
  38.     void        *sample;
  39.     ushort      size;
  40.     ushort      rate;
  41.     uchar       volume;
  42.     ushort      loopstart,loopend;
  43. } OLDINSTRUMENT;
  44.  
  45. typedef struct {
  46.     uchar       type;
  47.     char        name[32],filename[13];
  48.     void        *sample;
  49.     ulong       size;
  50.     ushort      rate;
  51.     uchar       volume;
  52.     ulong       loopstart,loopend;
  53. } INSTRUMENT;
  54. #if defined(powerc) || defined(__powerc)
  55. #pragma options align=reset
  56. #endif
  57. #endif